TransitionBuilder

interface TransitionBuilder<out S, out T : Any>

Base definition for a partially defined transition.

Properties

Link copied to clipboard
abstract val event: KClass<out T>
Link copied to clipboard
abstract val startState: S

Extensions

resultsIn
Link copied to clipboard
infix fun <S, T : Any> TransitionBuilder<S, T>.resultsIn(newState: S): TransitionDef<S, out T>

Define how a transition builder should end completing a fully defined transition definition.

infix fun <S, T : Any> TransitionBuilder<S, T>.resultsIn(newState: S): TransitionDef<S, out T>

Define how a transition builder should end completing a fully defined transition definition.

infix fun <S, T : Any> TransitionBuilder<S, T>.resultsIn(newState: S): TransitionDef<S, out T>

Define how a transition builder should end completing a fully defined transition definition.